package sjtu.rfid.rri.services.ale.writing;

import java.io.Serializable;

import sjtu.rfid.rri.services.ale.reading.ECFieldSpec;

public class CCOpSpec implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6525731066201040564L;

	private CCOpType opType;
	private ECFieldSpec fieldspec;
	private CCOpDataSpec dataSpec;
	private String opName;

	/**
	 * @return the opType
	 */
	public CCOpType getOpType() {
		return opType;
	}

	/**
	 * @param opType
	 *            the opType to set
	 */
	public void setOpType(CCOpType opType) {
		this.opType = opType;
	}

	/**
	 * @return the fieldspec
	 */
	public ECFieldSpec getFieldspec() {
		return fieldspec;
	}

	/**
	 * @param fieldspec
	 *            the fieldspec to set
	 */
	public void setFieldspec(ECFieldSpec fieldspec) {
		this.fieldspec = fieldspec;
	}

	/**
	 * @return the dataSpec
	 */
	public CCOpDataSpec getDataSpec() {
		return dataSpec;
	}

	/**
	 * @param dataSpec
	 *            the dataSpec to set
	 */
	public void setDataSpec(CCOpDataSpec dataSpec) {
		this.dataSpec = dataSpec;
	}

	/**
	 * @return the opName
	 */
	public String getOpName() {
		return opName;
	}

	/**
	 * @param opName
	 *            the opName to set
	 */
	public void setOpName(String opName) {
		this.opName = opName;
	}

}
